package com.weichen.studentgameexchange.game.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
/**
 * <p>
 * 
 * </p>
 *
 * @author 惟尘
 * @since 2025-02-01
 */
@Getter
@Setter
@ToString
@TableName("game_sort")
@Schema(name = "GameSort对象", description = "游戏与分类关联表，联合主键：game_id + sort_id")
public class GameSort implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 游戏id(联合主键)
     */
    @Schema(description = "游戏id(联合主键)")
    private Long gameId;

    /**
     * 分类id(联合主键)
     */
    @Schema(description = "分类id(联合主键)")
    private Long sortId;
}
